import i18n from '@/lang'
export const relatedConfigTbColumns = [
  {
    title: i18n.t('business'),
    dataIndex: 'business',
    key: 'business',
    width: 240,
    scopedSlots: { customRender: 'business' }
  },
  {
    title: i18n.t('flow'),
    dataIndex: 'flow',
    key: 'flow',
    width: 240,
    scopedSlots: { customRender: 'flow' }
  },
  {
    title: i18n.t('remark'),
    dataIndex: 'remark',
    key: 'remark',
    width: 240,
    scopedSlots: { customRender: 'remark' }
  },
  {
    title: i18n.t('creator'),
    dataIndex: 'createBy',
    key: 'creator',
    width: 180,
    scopedSlots: { customRender: 'creator' }
  },
  {
    title: i18n.t('timeOfCreation'),
    dataIndex: 'createTime',
    key: 'createTime',
    width: 200,
    scopedSlots: { customRender: 'createTime' },
    sorter: true

  },
  {
    title: i18n.t('operation'),
    dataIndex: '',
    key: 'operation',
    width: 180,
    fixed: 'right',
    scopedSlots: { customRender: 'operation' }
  }
]
